#include <QtCore/QCoreApplication>

#include <audioplayer.h>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    AudioPlayer p;
    QVector<Phonon::MediaSource> m;
        m.append(Phonon::MediaSource("C:/4. Apocalyptica-Hope(muzofon.com).mp3"));
//    m.append(Phonon::MediaSource("C:/One Republic - All The Right Moves.mp3"));
//    m.append(Phonon::MediaSource("C:/Para Normal'nyh - happy end.mp3"));
p.setRingEnable(true);
    p.addMusic(m);
    p.play();
    
    return a.exec();
}
